# Copyright (c) 2016 by Michael Zahniser
#
# Endless Sky is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# Endless Sky is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.

outfit "Bombardment Cannon"
	"display name" "ボンバードメントキャノン"
	plural "ボンバードメントキャノン"
	category "Guns"
	series "Guns"
	index 08010
	licenses
		Heliarch
	cost 437000
	thumbnail "outfit/bombardment cannon"
	"mass" 12
	"outfit space" -12
	"weapon capacity" -12
	"gun ports" -1
	weapon
		sprite "projectile/bombardment"
			"frame rate" 3.2
			"no repeat"
		sound "bombardment"
		"hit effect" "bombardment impact"
		"inaccuracy" 4
		"velocity" 6
		"random velocity" 1
		"lifetime" 150
		"reload" 9
		"firing energy" 17
		"firing heat" 14
		"shield damage" 22
		"hull damage" 25
	description "ボンバードメントキャノンはクオーグとの初期の戦争のあいだに設計された。ヘリアーチの民間船が安全な距離からクオーグの戦闘艦をたたけるようにするためだ。しかし今では、すべての武器の使用はヘリアーチの戦闘艦に制限されている。"

outfit "Bombardment Turret"
	"display name" "ボンバードメント砲塔"
	plural "ボンバードメント砲塔"
	category "Turrets"
	series "Turrets"
	index 08010
	licenses
		Heliarch
	cost 1845000
	thumbnail "outfit/bombardment turret"
	"mass" 43
	"outfit space" -43
	"weapon capacity" -43
	"required crew" 1
	"turret mounts" -1
	weapon
		sprite "projectile/bombardment"
			"frame rate" 3.2
			"no repeat"
		"hardpoint sprite" "hardpoint/bombardment turret"
		"hardpoint offset" 10.
		sound "bombardment"
		"hit effect" "bombardment impact"
		"inaccuracy" 4
		"turret turn" 2.6
		"velocity" 6
		"random velocity" 1
		"lifetime" 150
		"reload" 3
		"firing energy" 17
		"firing heat" 14
		"shield damage" 22
		"hull damage" 25
	description "ボンバードメント砲塔はヘリアーチの武器のなかではきわだって危険というわけではないが、かなり遠く離れたところから目標に当てられるという利点がある。"

effect "bombardment impact"
	sprite "effect/bombardment impact"
		"no repeat"
		"frame rate" 40
	"lifetime" 7
	"random angle" 40
	"random spin" 20
	"random velocity" 2
	"velocity scale" -.2


outfit "Finisher Pod"
	"display name" "フィニッシャー発射機"
	plural "フィニッシャー発射機"
	category "Secondary Weapons"
	series "Secondary Weapons"
	index 08010
	licenses
		Heliarch
	cost 1370000
	thumbnail "outfit/finisher pod"
	"mass" 16
	"outfit space" -36
	"weapon capacity" -36
	"gun ports" -1
	"finisher capacity" 40
	weapon
		sprite "projectile/finisher activating"
			"frame rate" 1
			"no repeat"
		sound "finisher"
		ammo "Finisher Torpedo"
		icon "icon/finisher"
		"fire effect" "finisher sparks" 8
		"hit effect" "finisher impact" 1
		"hit effect" "finisher fragment" 12
		"die effect" "finisher fragment" 6
		"inaccuracy" 5
		"velocity" 10
		"lifetime" 60
		"reload" 80
		"firing energy" 120
		"firing heat" 20
		"acceleration" .8
		"drag" .1
		"turn" 0.1
		"homing"
		"radar tracking" .8
		"missile strength" 50
		"submunition" "Active Finisher" 1
	description "フィニッシャー魚雷はヘリアーチの武器のなかではきわめて恐ろしいものだ。じっさいのところほかの武器のほとんどは、フィニッシャーの集中砲火が敵船を破壊するまで、なんらかの方法を使って逃げられないようにするためだけに存在している。"
	description "	この武器の弾薬はどの装備店でも補充できる。"
		to display
			has "gamerule: universal ammo restocking"

outfit "Finisher Maegrolain"
	"display name" "フィニッシャー・マエグロレイン"
	plural "フィニッシャー・マエグロレイン"
	category "Secondary Weapons"
	series "Secondary Weapons"
	index 08020
	licenses
		Heliarch
	cost 7260000
	thumbnail "outfit/finisher maegrolain"
	"mass" 58
	"outfit space" -88
	"weapon capacity" -88
	"gun ports" -1
	"finisher capacity" 60
	weapon
		sprite "projectile/finisher activating"
			"frame rate" 1
			"no repeat"
		sound "finisher"
		ammo "Finisher Torpedo"
		icon "icon/finisher"
		"fire effect" "finisher sparks" 8
		"hit effect" "finisher impact" 1
		"hit effect" "finisher fragment" 12
		"die effect" "finisher fragment" 6
		"inaccuracy" 6
		"velocity" 9
		"lifetime" 60
		"reload" 60
		"burst reload" 15
		"burst count" 20
		"firing energy" 184
		"firing heat" 76
		"acceleration" .8
		"drag" .1
		"turn" 0.1
		"homing"
		"radar tracking" .8
		"missile strength" 50
		"submunition" "Active Finisher" 1
	description "「猛烈な雷雨」を意味するサリドの言葉で命名されたこの巨大な発射機は、長時間の戦闘や軽量機での使用ではなく、フィニッシャー魚雷の素早く壊滅的な連射を数回浴びせるためのものだ。小型版よりはるかに大きなダメージの潜在力を持つ。"
	description "	この武器の弾薬はどの装備店でも補充できる。"
		to display
			has "gamerule: universal ammo restocking"

outfit "Active Finisher"
	"display name" "動作中フィニッシャー"
	plural "動作中フィニッシャー"
	weapon
		sprite "projectile/finisher"
			"frame rate" 2.4
		"live effect" "finisher trail" 50
		"hit effect" "finisher impact" 1
		"hit effect" "finisher fragment" 12
		"die effect" "small explosion"
		"lifetime" 500
		"acceleration" 1
		"drag" .1
		"turn" 2
		"homing"
			"leading"
			"throttle control"
		"radar tracking" .8
		"optical tracking" .5
		"missile strength" 50
		"shield damage" 1500
		"hull damage" 1900
		"hit force" 1125

outfit "Finisher Storage Tube"
	"display name" "フィニッシャー魚雷収納筒"
	plural "フィニッシャー魚雷収納筒"
	category "Ammunition"
	series "Ammunition"
	index 08011
	cost 58800
	thumbnail "outfit/finisher storage"
	"mass" 4
	"outfit space" -15
	"energy capacity" 120
	"finisher capacity" 20
	ammo "Finisher Torpedo"
	description "ヘリアーチの船がより多くのフィニッシャー魚雷収納筒を搭載できるよう、ヘリアーチの技術者は各モジュールに小さなバッテリーパックを組み込んだ。これによりヘリアーチの船は、恐るべき数のフィニッシャーを積みながら、相応のエネルギー容量も持つことができる。"

outfit "Finisher Torpedo"
	"display name" "フィニッシャー魚雷"
	plural "フィニッシャー魚雷"
	category "Ammunition"
	series "Ammunition"
	index 08010
	cost 32000
	thumbnail "outfit/finisher"
	"mass" .5
	"finisher capacity" -1
	description "ヘリアーチの軍事複合体のかなりの部分は、核燃料の精製、濃縮、増殖の監督に充てられている。原料の安定供給を確保した彼らは、極めて珍しい核分裂性物質を選択的に生産できる。極めて小さな臨界質量と好ましい中性子特性を持つこれらの慎重に管理された同位体こそ、フィニッシャー魚雷の小型化された核弾頭に、連合を脅かそうとする者を抑止するのに十分な威力を与える鍵だ。"
	description "	この極めて強力だが高価でもあるミサイルは、ヘリアーチ・フィニッシャーポッドの弾薬だ。"

effect "finisher sparks"
	sprite "effect/finisher sparks"
		"no repeat"
		"frame rate" 10
	"lifetime" 19
	"random angle" 30
	"random spin" 100
	"random velocity" 4

effect "finisher trail"
	sprite "effect/finisher trail"
		"no repeat"
		"frame rate" 5
	"lifetime" 37
	"random spin" 1
	"random velocity" 1
	"velocity scale" .8

effect "finisher impact"
	sprite "effect/finisher impact"
		"no repeat"
		"frame rate" 20
	sound "torpedo hit"
	"lifetime" 18
	"random spin" 20
	"random velocity" 2
	"velocity scale" -.2

effect "finisher fragment"
	sprite "effect/finisher trail"
		"no repeat"
		"frame rate" 8
	"lifetime" 23
	"random angle" 360
	"random spin" 1
	"random velocity" 10
	"velocity scale" -.1

outfitter "Finisher Torpedo Restock"
	to sell
		has "gamerule: universal ammo restocking"
		or
			has "outfit: Finisher Pod"
			has "outfit: Finisher Maegrolain"
			has "outfit: Finisher Storage Tube"
	location
		attributes "outfitter"
	stock
		"Finisher Torpedo"



outfit "Heliarch Attractor"
	"display name" "ヘリアーチ・アトラクター"
	plural "ヘリアーチ・アトラクター"
	category "Turrets"
	series "Turrets"
	index 08030
	licenses
		Heliarch
	cost 2187000
	thumbnail "outfit/heliarch attractor"
	"mass" 49
	"outfit space" -49
	"weapon capacity" -49
	"required crew" 1
	"turret mounts" -1
	weapon
		sprite "projectile/attractor"
			"frame rate" 5.2
			"random start frame"
		"hardpoint sprite" "hardpoint/heliarch attractor"
		"hardpoint offset" 9.
		sound "heliarch attractor"
		"hit effect" "attractor impact"
		"inaccuracy" 2
		"turret turn" 3.6
		"velocity" 640
		"lifetime" 1
		"reload" 1
		"firing energy" 4.8
		"firing heat" 4.5
		"shield damage" 5.4
		"hull damage" 4.2
		"firing force" -45
		"hit force" -45
	description "クオーグとの戦いのなかで、ヘリアーチはクオーグ船が逃げられない可能性のある戦いをしかけないことを学んだ。その対応として、ヘリアーチは船を止められないようにする武器を作ることに集中した。これを使えばジャンプドライブは作動させられないのだ。"

effect "attractor impact"
	sprite "effect/attractor impact"
		"no repeat"
		"frame rate" 20
	"lifetime" 13
	"random angle" 20
	"random spin" 20
	"random velocity" -10
	"velocity scale" -.01


outfit "Heliarch Repulsor"
	"display name" "ヘリアーチ・リパルサー"
	plural "ヘリアーチ・リパルサー"
	category "Turrets"
	series "Turrets"
	index 08040
	licenses
		Heliarch
	cost 2549000
	thumbnail "outfit/heliarch repulsor"
	"mass" 56
	"outfit space" -56
	"weapon capacity" -56
	"required crew" 1
	"turret mounts" -1
	weapon
		sprite "projectile/repulsor"
			"frame rate" 3.2
			"random start frame"
		"hardpoint sprite" "hardpoint/heliarch repulsor"
		"hardpoint offset" 9.
		sound "heliarch repulsor"
		"hit effect" "repulsor impact"
		"inaccuracy" 3
		"turret turn" 2.6
		"velocity" 560
		"lifetime" 1
		"reload" 1
		"firing energy" 5.9
		"firing heat" 1.2
		"shield damage" 3.6
		"hull damage" 5.8
		"firing force" 90
		"hit force" 90
		"slowing damage" .1
	description "このビーム砲塔でヘリアーチ船は敵が短射程兵器を使えないくらい遠くに離しておけるようになる。"

effect "repulsor impact"
	sprite "effect/repulsor impact"
		"no repeat"
		"frame rate" 10
	"lifetime" 20
	"random angle" 360
	"random spin" 10
	"random velocity" 4
	"velocity scale" .01


outfit "Ion Hail Turret"
	"display name" "イオンヘイル砲塔"
	plural "イオンヘイル砲塔"
	category "Turrets"
	series "Turrets"
	index 08020
	licenses
		Heliarch
	cost 1268000
	thumbnail "outfit/ion hail turret"
	"mass" 26
	"outfit space" -26
	"weapon capacity" -26
	"required crew" 1
	"turret mounts" -1
	weapon
		"hardpoint sprite" "hardpoint/ion hail turret"
		"hardpoint offset" 10.
		sound "ion rain"
		"inaccuracy" 3
		"turret turn" 3.5
		"velocity" 12
		"reload" 15
		"burst reload" 3
		"burst count" 5
		"firing energy" 48
		"firing heat" 24
		"submunition" "ion hail" 4
	description "イオンレイン砲を砲塔基部に乗せただけではない。ヘリアーチは射撃周期を調整し、一発ずつの効力をいちじるしく上げ、射程距離を増加させた。しかしその犠牲となったのは再装填周期である。"

outfit "ion hail"
	"display name" "イオンヘイル"
	plural "イオンヘイル"
	weapon
		sprite "projectile/ion rain"
			"frame rate" 7
			"random start frame"
		"hit effect" "ion rain impact"
		"inaccuracy" 1
		"random velocity" 3
		"lifetime" 40
		"random lifetime" 4
		"hit force" 1
		"shield damage" 12
		"hull damage" 5
		"ion damage" .3
		"scrambling damage" .3


outfit "Ion Rain Gun"
	"display name" "イオンレイン砲"
	plural "イオンレイン砲"
	category "Guns"
	series "Guns"
	index 08020
	licenses
		Heliarch
	cost 798000
	thumbnail "outfit/ion rain gun"
	"mass" 17
	"outfit space" -17
	"weapon capacity" -17
	"gun ports" -1
	weapon
		sprite "projectile/ion rain"
			"frame rate" 7
			"random start frame"
		sound "ion rain"
		"hit effect" "ion rain impact"
		"inaccuracy" 4.5
		"velocity" 16
		"random velocity" 2
		"lifetime" 25
		"random lifetime" 5
		"reload" 4
		"firing energy" 12
		"firing heat" 4
		"shield damage" 12
		"hull damage" 5
		"ion damage" .2
		"scrambling damage" .2
	description "ヘリアーチ船はおもに警察力としての役割をつとめている。この武器は増援のヘリアーチ船が争いに加われるようになるまで目標の攻撃能力を無力化するように設計された。"

effect "ion rain impact"
	sprite "effect/ion rain impact"
		"no repeat"
		"frame rate" 60
	"lifetime" 5
	"random angle" 360
	"random spin" 2
	"random velocity" 10
	"velocity scale" -.1



outfit "MCS Extractor"
	"display name" "MCS 抽出器"
	plural "MCS 抽出器"
	category "Guns"
	series "Guns"
	index 08030
	licenses
		Coalition
	cost 106000
	thumbnail "outfit/mcs extractor"
	"mass" 18
	"outfit space" -18
	"weapon capacity" -18
	"asteroid scan power" 18
	"gun ports" -1
	weapon
		sound "drill"
		"hit effect" "drilling"
		"velocity" 10
		"lifetime" 1
		"reload" 1
		"firing energy" .78
		"firing heat" .68
		"shield damage" .2
		"hull damage" 1.4
		"minable damage" 8.2
		"prospecting" 9
	description "ヘリアーチの定義では法的に武器ではない「鉱物収集選別」抽出ユニットは、採掘可能な小惑星を素早く砕くよう設計された鋭く耐久性のある刃の一式からなる。採掘作業を助けるため、鉱物に富む小惑星を探す統合スキャンシステムも付属する。"
	description "	船のローンを返済しようとする新米パイロットに特に人気で、この抽出器は数千年にわたって連合の採掘業の頼れる道具であり続けている。"

effect "drilling"
	sprite effect/smoke
		"no repeat"
		scale 0.5
	sound "explosion tiny"
	lifetime 12
	"velocity scale" -0.05
	"random angle" 360
	"random velocity" 2
	"random spin" 2
	"random frame rate" 2
